package com.wty.design.creational.singleton;

import java.lang.reflect.InvocationTargetException;

/**
 * @Author wangtengyu
 * @Create 2018-09-18-10:21
 */
public class Test {

    public static void main(String[] args) throws IllegalAccessException, InvocationTargetException, InstantiationException, NoSuchMethodException {
        Thread t1=new Thread(new T());
        Thread t2=new Thread(new T());
        t1.start();
        t2.start();
        System.out.println("program end");

    }
}
